.RoomBox {
    min-height: calc(100vh - 50px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'yu100';
}

/* 居中的大盒子 */
.centerBox {
    position: relative;
    background-color: #afe0f1;
    width: 1200px;
    height: 800px;
    border-radius: 20px;
    box-shadow: 4px 4px 20px #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 聊天记录大盒子 ul */
.messageBox {
    position: absolute;
    top: 20px;
    width: 1160px;
    height: 580px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    border-radius: 20px;
}

/* .messageBox::-webkit-scrollbar {
    width: 24px;
    height: 1px;
}
.messageBox::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: skyblue;
    background-image: -webkit-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
}
.messageBox::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #ededed;
    border-radius: 20px;
} */
.messageBox::-webkit-scrollbar {
    display: none;
}

/* 每条消息 */
.msgLi {
    height: 60px;
    /* width: 90%; */
    /* background-color: #afe0f1; */
    /* border-radius: 20px; */
    font-weight: 700;
    margin-top: 20px;
}

.myself {
    /* background-color: #afe0f1; */
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.4) inset;
}

.msgName {
    height: 24px;
    font-size: 18px;
    color: #066eb4;
    margin-left: 24px;
    /* background-color: #fff; */
}

.msgTime {
    /* background-color: #fff; */
    font-size: 16px;
}

.msgContent {
    font-size: 16px;
    height: 36px;
    line-height: 36px;
    margin-left: 38px;
    /* background-color: #fff; */
}

/* 输入框大盒子 */
.inputMsgBox {
    position: absolute;
    bottom: 20px;
    width: 1160px;
    height: 160px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.5);
}

/* 发送按钮 */
.sendBtn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(0, 223, 0);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: absolute;
    bottom: 6px;
    right: 6px;
}
.sendBtn:hover {
    background-color: rgb(0, 158, 0);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* 发送消息输入框 */
.inputMsg {
    border: none;
    outline: none;
    color: #000;
    font-size: 22px;
    padding: 20px;
    border-radius: 20px;
    margin: 6px 0 0 6px;
    width: 1102px;
    height: 148px;
    background-color: #afe0f1;
    resize: none;
    font-family: 'yu100';
}

.logoutBtn {
    position: absolute;
    top: 0;
    right: -60px;
    background-color: #afe0f1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(37, 82, 133);
}

.logoutBtn:hover {
    background-color: red;
    color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.userBox {
    position: absolute;
    top: 60px;
    left: 1220px;
    font-size: 18px;
    font-weight: 700;
    /* background-color: #afe0f1; */
    color: #fff;
    height: 70px;
    width: 150px;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
